﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MShop.Core.Domain;
using System.Web.Routing;

namespace MShop.Core.Service.Membership
{
    public interface IUserRightsService
    {
        string CurrentRole { get; }

        IEnumerable<ShopUserRights> CurrentUserRights { get;  }

        ShopUserRights CurrentUserRight(int menuId);

        RightFlags CurrentUserRightFlags(int menuId);

        RightFlags CurrentUserRightFlags(string urlReferrer);

        RightFlags CurrentUserRightFlags(RouteData routedata);

    }
}